package com.zit.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Bedroom entity. @author MyEclipse Persistence Tools
 */

public class Bedroom implements java.io.Serializable {

	// Fields

	private Integer id;
	private Dorm dorm;
	private String name;
	private Date createTime;
	private Integer isDelete;
	private String remark;
	private Integer maxCount;
	private Set berths = new HashSet(0);

	// Constructors

	/** default constructor */
	public Bedroom() {
	}

	/** minimal constructor */
	public Bedroom(Integer id,String name) {
		this.id = id;
		this.name = name;
	}

	/** full constructor */
	public Bedroom(Dorm dorm, String name, Date createTime, Integer isDelete,
			String remark, Integer maxCount, Set berths) {
		this.dorm = dorm;
		this.name = name;
		this.createTime = createTime;
		this.isDelete = isDelete;
		this.remark = remark;
		this.maxCount = maxCount;
		this.berths = berths;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Dorm getDorm() {
		return this.dorm;
	}

	public void setDorm(Dorm dorm) {
		this.dorm = dorm;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getMaxCount() {
		return this.maxCount;
	}

	public void setMaxCount(Integer maxCount) {
		this.maxCount = maxCount;
	}

	public Set getBerths() {
		return this.berths;
	}

	public void setBerths(Set berths) {
		this.berths = berths;
	}

}